package com.example.base.room

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.example.base.entity.DateVisitEntity

@Dao
interface DateDao {
    @Insert(onConflict = OnConflictStrategy.REPLACE)
    fun insert(dateVisitEntity: DateVisitEntity):Long
    @Query("select * from dateVisit")
    fun query():MutableList<DateVisitEntity>
}